package com.cykj.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PsAppointmentRecord {

  private Integer appointmentId;
  private Integer appointmentUser;
  private Integer appointmentConsultant;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private LocalDateTime appointmentTime;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private LocalDateTime appointmentEndTime;
  private String appointmentType;
  private String appointmentStatus;
  private String appointmentText;
  private String appointmentMoney;
  private String appointmentReply;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private String appointmentReplyTime;
  private String appointmentContent;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private LocalDateTime appointmentContentTime;

  //用户表
  private PsUser psUser;
  //咨询师表
  private PsConsultant psConsultant;
  //领域表
  private PsType psType;
  //管理员表
  private PsAdmin psAdmin;
  //
  private PsAppointmentTime psAppointmentTime;
  //
  private PsTime time;

}
